﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SqlScriptVault.Model
{
    [Serializable]
    public class Server
    {
        public string ServerName { get; set; }
        public string DatabaseName { get; set; }
        public string ServerType { get; set; }
        public bool WindowsAuthentication { get; set; }

        public string FullName
        {
            get
            {
                return string.Format("[{0}] {1}.{2}", ServerType, ServerName, DatabaseName);
            }
        }
    }
}
